package org.ekstrabilet.game.beans;


import java.sql.*;
import java.util.List;

public class Game {
	private Integer gameID;
	private String stadiumName;
	private String stadiumCity;
	private String teamA;
	private String teamB;
	private Date gameDate;
	private Time gameTime;
	private List<SectorPrice> sectorPrices;
	
	
	
	
	public Game(String stadiumName, String stadiumCity,
			String teamA, String teamB, Date gameDate, Time gameTime, List<SectorPrice>sectorPrices) {
		super();
		this.stadiumName = stadiumName;
		this.stadiumCity = stadiumCity;
		this.teamA = teamA;
		this.teamB = teamB;
		this.gameDate = gameDate;
		this.gameTime = gameTime;
		this.sectorPrices= sectorPrices;
	}
	public Game(String teamA, String teamB, String stadiumName, String stadiumCity, Date gameDate, Time gameTime){
		this.teamA = teamA;
		this.teamB = teamB;
		this.stadiumName = stadiumName;
		this.stadiumCity = stadiumCity;
		this.gameDate = gameDate;
		this.gameTime = gameTime;
	}


	
	public Game(Integer gameID, String stadiumName, String stadiumCity,
			String teamA, String teamB, Date gameDate, Time gameTime) {
		super();
		this.gameID = gameID;
		this.stadiumName = stadiumName;
		this.stadiumCity = stadiumCity;
		this.teamA = teamA;
		this.teamB = teamB;
		this.gameDate = gameDate;
		this.gameTime = gameTime;
		
	}
	
	public Game() {
		
	}

	public String toString(){
		return ( new String(teamA + " " + teamB + " " + stadiumName+ " " + stadiumCity + " " + gameDate + " " + gameTime ));
	}
	public Integer getGameID() {
		return gameID;
	}
	public void setGameID(Integer gameID) {
		this.gameID = gameID;
	}
	public String getStadiumName() {
		return stadiumName;
	}
	public void setStadiumName(String stadiumName) {
		this.stadiumName = stadiumName;
	}
	public String getStadiumCity() {
		return stadiumCity;
	}
	public void setStadiumCity(String stadiumCity) {
		this.stadiumCity = stadiumCity;
	}
	public String getTeamA() {
		return teamA;
	}
	public void setTeamA(String teamA) {
		this.teamA = teamA;
	}
	public String getTeamB() {
		return teamB;
	}
	public void setTeamB(String teamB) {
		this.teamB = teamB;
	}
	public Date getGameDate() {
		return gameDate;
	}
	public void setGameDate(Date gameDate) {
		this.gameDate = gameDate;
	}
	public Time getGameTime() {
		return gameTime;
	}
	public void setGameTime(Time gameTime) {
		this.gameTime = gameTime;
	}
	public List<SectorPrice> getSectorPrices() {
		return sectorPrices;
	}
	public void setSectorPrices(List<SectorPrice> sectorPrices) {
		this.sectorPrices = sectorPrices;
	}
	
	
	
	
}
